﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoTest.Framework.Ioc
{
    /// <summary>
    /// 
    /// </summary>
    public interface INamedServiceProvider
    {
        /// <summary>
        /// 获取服务
        /// </summary>
        /// <typeparam name="TService"></typeparam>
        /// <param name="serviceName"></param>
        /// <returns></returns>
        TService? GetService<TService>(string serviceName);
    }
}
